package com.hzncc.flowable_diboot.trial_contracts.vo;


import com.diboot.core.binding.annotation.BindEntityList;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
* 试用合同 VO定义
* @author MyName
* @version 1.0
* @date 2024-10-15
* Copyright © MyCorp
*/
@Getter @Setter @Accessors(chain = true)
public class TrialContractDetailVO extends TrialContractListVO  {
    private static final long serialVersionUID = 1653619331586682683L;

    @BindEntityList(
            entity = TrialContractItemListVO.class,
            condition = "this.id = trial_contract_id",
            orderBy = "id desc",
            deepBind = true
    )
    private List<TrialContractItemListVO> trialContractItemList;
}